package com.txzhang.springcloud.storageservice.config;

import feign.Retryer;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class Config {

    @Bean
    public Retryer retryer() {
        return new Retryer.Default(10, 15, 3);
    }
}
